// 引入 request 文件
import request from './request.js'


// 指标
export const statisticsIndex = (params) => {
	return request({
		url: '/pmsystem/index/index?year='+params.year,
		method: 'get',
	})
}
// 项目
export const statisticsProject = (params) => {
	return request({
		url: '/pmsystem/index/project?year='+params.year,
		method: 'get',
	})
}
//获取合同数据
export function statisticsContract(params) {
  return request({
    url: '/pmsystem/index/contract?year='+params.year,
    method: "get",
  });
}
//账款
export function statisticsMoney(params) {
  return request({
    url: '/pmsystem/index/money?year='+params.year,
    method: "get",
  });
}
//成本
export function statisticsCost(params) {
  return request({
    url: '/pmsystem/index/cost?year='+params.year,
    method: "get",
  });
}



